package com.sq.universe.system.service.impl;

import com.sq.universe.base.service.impl.BaseServiceImpl;
import com.sq.universe.system.dao.MenuDao;
import com.sq.universe.system.entity.MenuEntity;
import com.sq.universe.system.service.MenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 孙乾 2020-07-08 23:29:38
*/
@Service
public class MenuServiceImpl extends BaseServiceImpl<MenuEntity, MenuDao> implements MenuService {

    @Autowired
    private MenuDao systemMenuDao;

    /**
     * 查询数据
     * @param menuEntity
     * @return
     */
    public List<MenuEntity> queryTree(MenuEntity menuEntity){
        return systemMenuDao.queryTree(menuEntity);
    }

}
